package com.qbd.dao;

import java.util.List;
import java.util.Map;

import com.qbd.model.Photo;

public interface PhotoMapper {
	int deleteByPrimaryKey(String id);

	int insert(Photo record);

	int insertSelective(Photo record);

	Photo selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Photo record);

	int updateByPrimaryKey(Photo record);

	Long getTotal(Map<String, Object> map);

	List<Photo> selectByPage(Map<String, Object> map);
	
	List<Photo> selectByPrid(Map<String, Object> map);
	
	List<Photo> selectByPrid1(String prid);
}